package com.example.socket.disruptor;

import com.example.socket.model.SeckillEvent;
import com.lmax.disruptor.EventFactory;

/**
 * Created with IDEA
 * author:QinWei
 * Date:2019/5/21
 * Time:9:44
 */
public class SeckillEventFactory implements EventFactory<SeckillEvent> {

    @Override
    public SeckillEvent newInstance() {
        return new SeckillEvent();
    }
}
